SELECT a query after another SELECT using Dates